<!DOCTYPE html>
<html lang="zh-CN"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorator="layout/default">
<head>
    <meta charset="UTF-8">
    <title>推送测试</title>
    <script th:src="@{/assets/scripts/push.js}"></script>
</head>
<body>
<div layout:fragment="content" th:remove="tag">
    <div
            th:replace="fragments/tool :: tipMessage (type='',content=${message})"
            th:remove="tag"></div>
    <input type="hidden" id="basePath" th:value="@{/sys/demo/}">

    <input type="hidden" id="receiver" value="admin">
    标题:<input type="text" id="title" th:name="title">
    内容:<input type="text" id="content" th:name="content">

    <select id="type">
        <option value="broad">发送广播</option>
        <option value="normal">普通消息</option>
        <option value="approve">发送审批</option>
    </select>
    <button id="subPushButton" onclick="Push.subPush()">确定</button>
    <div id="messageTip" style="color:red;width: auto;height: 100px;" ></div>


</div>
</body>
</html>
